﻿package puziran.party.domain;

import puziran.sofa.util.SysUtil;

public class Operator { // 会员操作员表
	private String operatorid; // 编码
	private String partyid; // 会员ID
	private String operator; // 操作员
	private String password; // 口令
	private String logintimes;//登录次数
	private String lastloginip;//最后登录Ip
	private String lastlogindate;//最后登录次数
	private String inputdate; // 新增或修改日期

	public String getOperatorid() {
		if (operatorid != null) {
			if (new SysUtil().isInt(operatorid) == false)
				operatorid = null;
		}
		return operatorid;
	}

	public void setOperatorid(String operatorid) {
		if (operatorid != null) {
			if (new SysUtil().isInt(operatorid) == false)
				operatorid = null;
		}
		this.operatorid = operatorid;
	}

	public String getPartyid() {
		if (partyid != null) {
			if (new SysUtil().isInt(partyid) == false)
				partyid = null;
		}
		return partyid;
	}

	public void setPartyid(String partyid) {
		if (partyid != null) {
			if (new SysUtil().isInt(partyid) == false)
				partyid = null;
		}
		this.partyid = partyid;
	}

	public String getOperator() {
		if (operator != null) {
			if ("".equals(operator))
				operator = null;
		}
		return operator;
	}

	public void setOperator(String operator) {
		if (operator != null) {
			if ("".equals(operator))
				operator = null;
		}
		this.operator = operator;
	}
	public String getLogintimes() {
		if (logintimes != null) {
			if ("".equals(logintimes))
				logintimes = null;
		}
		return logintimes;
	}

	public void setLogintimes(String logintimes) {
		if (logintimes != null) {
			if ("".equals(logintimes))
				logintimes = null;
		}
		this.logintimes = logintimes;
	}
	public String getLastloginip() {
		if (lastloginip != null) {
			if ("".equals(lastloginip))
				lastloginip = null;
		}
		return lastloginip;
	}

	public void setLastloginip(String lastloginip) {
		if (lastloginip != null) {
			if ("".equals(lastloginip))
				lastloginip = null;
		}
		this.lastloginip = lastloginip;
	}
	public String getLastlogindate() {
		if (lastlogindate != null) {
			if ("".equals(lastlogindate))
				lastlogindate = null;
		}
		return lastlogindate;
	}

	public void setLastlogindate(String lastlogindate) {
		if (lastlogindate != null) {
			if ("".equals(lastlogindate))
				lastlogindate = null;
		}
		this.lastlogindate = lastlogindate;
	}
	
	public String getPassword() {
		if (password != null) {
			if ("".equals(password))
				password = null;
		}
		return password;
	}

	public void setPassword(String password) {
		if (password != null) {
			if ("".equals(password))
				password = null;
		}
		this.password = password;
	}
	
	public String getInputdate() {
		if (inputdate != null) {
			if ("".equals(inputdate))
				inputdate = null;
		}
		return inputdate;
	}

	public void setInputdate(String inputdate) {
		if (inputdate != null) {
			if ("".equals(inputdate))
				inputdate = null;
		}
		this.inputdate = inputdate;
	}
}
